import request from '@/utils/request'

// 查询设备列表
export function getDeviceCenterList(query) {
  return request({
    url: '/genius/platform-device-centre/list',
    method: 'get',
    params: query
  })
}

// 分配设备
export function distributionDevice(query) {
  return request({
    url: '/genius/platform-device-centre/distribution-device',
    method: 'post',
    data: query
  })
}

// 投放设备
export function putDevice(query) {

  return request({
    url: '/genius/platform-device-centre/put-device',
    method: 'post',
    data: query
  })
}
